<template>
  <div class="demo">
    <span>{{ msg }}</span>
    <slot></slot>
  </div>
</template>

<script>
export default {
  name: 'demo',
  data() {
    return {
      msg: 'demo',
    };
  },
};
</script>

<style lang="scss" scoped>
.demo {
  color: #f00;
}
</style>

<style>
.demo {
  font-weight: bold;
}
</style>
